package com.cyjf.dbview.mapper;

import com.cyjf.dbview.model.ZscarBazaar;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;


public interface ZscarBazaarMapper extends Mapper<ZscarBazaar> {

    @Select("SELECT COUNT(DISTINCT bazaar_id) as \"usedCarMarket\"\n" +
            "from zscartm1jucom2.zscar_bazaar\n" +
            "WHERE `status`=1")
    Integer getUsedCarMarket();
}

